"""
正态分布图形
"""

import numpy as np
from scipy.stats import norm as N
import matplotlib.pyplot as plt

x = np.linspace(-10, 10, 200)
print(x)

rv1 = N(loc=0, scale=1)
rv2 = N(loc=0, scale=3)
rv3 = N(loc=-5, scale=1)

plt.plot(x, rv1.pdf(x), color='green')
plt.plot(x, rv2.pdf(x), color='blue')
plt.plot(x, rv3.pdf(x), color='red')

plt.show()